package com.ytkj.digitalConstruction.enums.message;

/**
 * 链接类型的消息的枚举
 * 
 * @author momei
 *
 */
public enum LinkMessagePicUrlEnum {

	/** 已删除 */
	URL_ONE("@lAjPBY0V4vGs0m3OICEvVc4elizc"); 
	
	/** 枚举项的值 */
	String value;
	
	LinkMessagePicUrlEnum(String value){
		this.value = value;
	}
	
	/**
	 * @desc 获取枚举类型对用的值
	 * @return 枚举项对应的值
	 */
	public String getValue(){
		return value;
	}
	
	public LinkMessagePicUrlEnum getByValue(String value){
		for(LinkMessagePicUrlEnum status : LinkMessagePicUrlEnum.values()){
			
			if(status.value.equals(value)){
				return status;
			}
		}
		throw new IllegalArgumentException("No element matches " + value);  
	}
}
